package router

import (
	"api/internal/api"
	"github.com/gin-gonic/gin"
)

func UserRouter(c *gin.RouterGroup) {
	userRouter := c.Group("user")
	{
		userRouter.POST("register", api.Registers)
		userRouter.POST("login", api.Login)
	}
}
